﻿using Furion.DataValidation;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.CMS.Application.Dto
{
    /// <summary>
    /// 黑名单数据传输对象
    /// </summary>
    public class BlacklistInputDto
    {
        /// <summary>
        /// IP地址
        /// </summary>
        [DataValidation(ValidationTypes.IPv4, ErrorMessage = "请填写正确的IP地址")]
        public string IpAddress { get; set; }
        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }
    }
}
